package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.GoodsFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author cjr
 */
@Component
public class GoodsFallback implements GoodsFeign {
    @Override
    public ResultModel save(GoodsSaveRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel save2(GoodsSaveRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel remove(GoodsRemoveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel saveImport(GoodsSaveImportRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel deleteImport(GoodsDeleteImportRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel platformTypeUpdate(GoodsPlatformTypeUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel platformTypeDelete(GoodsPlatformTypeDeleteRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel groupSave(GoodsGroupSaveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel groupUp(GoodsGroupUpDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel groupDown(GoodsGroupInfoDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel groupRemove(GoodsGroupInfoDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<GoodsGroupInfoVo> groupInfo(GoodsGroupInfoDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<GoodsGroupListVo> groupList(GoodsGroupListDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel priceHide(GoodsPriceHideRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel priceShow(GoodsPriceHideRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel priceRemark(GoodsPriceRemarkRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel mainPush(GoodsMainPushRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel show(GoodsShowRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel hide(GoodsHideRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel vrUpdate(GoodsVrUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel modelUpdate(GoodsModelUpdateRequest request) {
        return ResultModel.faultTolerant();
    }
}
